home *** CD-ROM | disk | FTP | other *** search
- Path: news.mel.aone.net.au!leathm
- From: leathm@gbrmpa.gov.au (Leath Muller)
- Newsgroups: comp.lang.c++,alt.msdos.programmer,comp.programming
- Subject: Re: SVGA mode Video Buffer?
- Date: 18 Mar 1996 01:14:10 GMT
- Message-ID: <4iidd2$la2@news.mel.aone.net.au>
- References: <4if600$i9l@skydiver.jaguNET.com> <4if65l$i9l@skydiver.jaguNET.com> <4ifuj2$bf6@masala.cc.uh.edu>
- NNTP-Posting-Host: solwarra.gbrmpa.gov.au
-
- Sensarn <txs53132@bayou.uh.edu> writes:
-
- >I would use a far pointer to A000:0000h:
- >unsigned char far *vbuffer=(unsigned char far *)0xA0000000l;
- >I assume that you are using a linear screen mode (256 colors usually
- >implies that). Use Ralph Brown's Interrupt List for help on bank
- >switching (int 10h extended function 4fh subfunction 05h -- I type that a
- >lot, don't I?).
-
- Your better off linearly mapping the graphics screen into memory so you
- can access the screen without bank swapping...although, its bloody
- difficult to seem to get real mode stuff to work properly in protected
- mode as I am finding out... :)
-
- Leathal.
-